projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56f142
)
(next-history-element): Set point to the end of the
author
Gerd Moellmann
<gerd@gnu.org>
Fri, 23 Jul 1999 10:59:35 +0000
(10:59 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Fri, 23 Jul 1999 10:59:35 +0000
(10:59 +0000)
prompt if minibuffer-prompt-in-buffer.
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index 58e8f5aff42960881dbdecad2f862812ebb6b0dd..a187ebbf8eabcff48b5f7aa9a93c9ff8639771ba 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-824,7
+824,9
@@
An uppercase letter in REGEXP makes the search case-sensitive."
(let ((print-level nil))
(prin1-to-string elt))
elt))
- (goto-char (point-min)))))
+ (if (boundp 'minibuffer-prompt-in-buffer)
+ (goto-char (minibuffer-prompt-width))
+ (goto-char (point-min))))))
(defun previous-history-element (n)
"Inserts the previous element of the minibuffer history into the minibuffer."